package com.campus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.campus.entry.ManagerActivity;
import com.campus.pojo.dto.ManagerActivityDto;
import io.swagger.v3.oas.models.security.SecurityScheme;

import java.util.List;

public interface ManagerActivityService {
    void saveActivity(ManagerActivity managerActivity);
    void updateActivity(ManagerActivity managerActivity);

    void changeActivityStatus(Integer managerActivityId, Integer status);

    Integer getActivityStatus(Integer managerActivityId);

    List<ManagerActivity> listManagerActivity(ManagerActivityDto managerActivityDto);

    Page<ManagerActivity> listManagerActivity(ManagerActivityDto managerActivityDto, Integer pageNum, Integer pageSize);

    Long contActivity();
    ManagerActivity getActivityById(Integer id);
}
